<%@ page language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
          + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <base href="<%=basePath%>"/>
  <meta http-equiv="pragma" content="no-cache"/>
  <meta http-equiv="cache-control" content="no-cache"/>
  <meta http-equiv="expires" content="0"/>
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
  <meta http-equiv="description" content="This is my page"/>
  <title>添加主题--管理后台</title>
  <link href="../../../static/css/admin.css" rel="stylesheet" type="text/css"/>
  <script type="text/javascript" src="../../../static/js/jquery-1.12.4.min.js"></script>
</head>
<body>
<%--<div id="header">--%>
<%--  <div id="welcome">欢迎使用新闻管理系统！</div>--%>
<%--  <div id="nav">--%>
<%--    <div id="logo"><img src="../../../static/images/logo.jpg" alt="新闻中国" /></div>--%>
<%--    <div id="a_b01"><img src="../../../static/images/a_b01.gif" alt="" /></div>--%>
<%--  </div>--%>
<%--</div>--%>
<%--<div id="admin_bar">--%>
<%--  <div id="status">管理员： 登录  &#160;&#160;&#160;&#160; <a href="#">login out</a></div>--%>
<%--  <div id="channel"> </div>--%>
<%--</div>--%>
<div id="main">
<%--  <%@ include file="console_element/left.html" %>--%>
  <div id="opt_area">
    <h1 id="opt_type"> 添加主题： </h1>
    <form id="myform" method="post">
      <p>
        <label> 主题名称 </label>
        <input type="hidden" name="tid" value="${sessionScope.topicDetail.tid}"/>
        <input id="mytopic" name="tname" type="text" class="opt_input" id="tname" value="${sessionScope.topicDetail.tname}"/>
      </p>
      <input type="button" id="addTopicSubmit" onclick="addTopic()" value="提交" class="opt_sub" />
      <input type="reset" value="重置" onclick="resetTopic()" class="opt_sub" />
    </form>
  </div>
</div>
<div id="footer">
<%--<%@ include file="console_element/bottom.html" %>--%>
</div>
</body>
</html>
